package edu.cicese.alz.swing;

import javax.swing.JTextField;

/**
 * Created by: Eduardo Quintana Contreras
 * Date: 4/07/12
 * Time: 01:34 PM
 */
public class JNonEmptyTextField extends JTextField {
	private boolean error;

	public JNonEmptyTextField() {
		error = false;
	}

	public boolean hasError() {
		return error;
	}

	public void setError(boolean error) {
		this.error = error;
	}
}
